package org.simplextensions.ui.view;

import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Composite;

public class CTabItemViewRegion extends SWTViewRegion {

	private final CTabItem cTabItem;

	public CTabItemViewRegion(Composite clientArea, CTabItem cTabItem) {
		super(clientArea);
		this.cTabItem = cTabItem;
	}

	public CTabItem getCTabItem() {
		return cTabItem;
	}

	public void setImage(Image image) {
		cTabItem.setImage(image);
	}

}